package com.wsoft.bpm.node;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * @Author zhonglj
 * @Date 2024-09-23 9:00
 */
@Setter
@Getter
@Accessors(chain = true)
public class Process extends ActivityXml {
    private String id;
    private String name;
    private String isExecutable = "true";
    private String candidateStarterUsers;
    private String candidateStarterGroups;
    private Documentation documentation;
    private ExtensionElements extensionElements;

    public Process() {
        setTagName("process");
        putXmlKey("candidateStarterUsers", "activiti:candidateStarterUsers");
        putXmlKey("candidateStarterGroups", "activiti:candidateStarterGroups");
    }
}
